package com.eischet.lookup.web;

/**
 * This exception is thrown when the Lucene index is not available.
 * The web application is expected to handle this case gracefully,
 * displaying a message that tells the user to wait for the index
 * to recover, while (hopyfully) administrators are restoring service.
 */
class IndexInaccessibleError extends Exception {
    /**
     * Create an exception instance with a cause.
     * @param ex the cause
     */
    public IndexInaccessibleError(Throwable ex) {
        super(ex);
    }
}
